<script type="text/html" template lay-done="layui.data.done(d);">
<div class="layui-form coreshop-form layui-form-pane" lay-filter="LAY-app-feedback-createForm" id="LAY-app-feedback-createForm">
	
	<div class="layui-form-item">
        <label for="id" class="layui-form-label  layui-form-required">反馈id</label>
        <div class="layui-input-block">
            <input  type="number" min="0" max="999999" name="id"   lay-verType="tips" lay-verify="required|number" class="layui-input" value="1" placeholder="请输入反馈id" lay-reqText="请输入反馈id并为数字"  />
        </div>
    </div>
	
	<div class="layui-form-item">
        <label for="userid" class="layui-form-label  layui-form-required">用户id</label>
        <div class="layui-input-block">
            <input  type="number" min="0" max="999999" name="userid"   lay-verType="tips" lay-verify="required|number" class="layui-input" value="1" placeholder="请输入用户id" lay-reqText="请输入用户id并为数字"  />
        </div>
    </div>
	
	<div class="layui-form-item">
        <label for="username" class="layui-form-label  layui-form-required">用户姓名</label>
        <div class="layui-input-block">
            <input name="username"   lay-verType="tips" lay-verify="required" class="layui-input"  placeholder="请输入用户姓名" lay-reqText="请输入用户姓名"  />
        </div>
    </div>
	
	<div class="layui-form-item">
        <label for="nickname" class="layui-form-label  layui-form-required">昵称</label>
        <div class="layui-input-block">
            <input name="nickname"   lay-verType="tips" lay-verify="required" class="layui-input"  placeholder="请输入昵称" lay-reqText="请输入昵称"  />
        </div>
    </div>
	
	<div class="layui-form-item">
        <label for="mobile" class="layui-form-label  layui-form-required">联系电话</label>
        <div class="layui-input-block">
            <input name="mobile"   lay-verType="tips" lay-verify="required" class="layui-input"  placeholder="请输入联系电话" lay-reqText="请输入联系电话"  />
        </div>
    </div>
	
	<div class="layui-form-item">
        <label for="desc" class="layui-form-label  layui-form-required">建议内容</label>
        <div class="layui-input-block">
            <input name="desc"   lay-verType="tips" lay-verify="required" class="layui-input"  placeholder="请输入建议内容" lay-reqText="请输入建议内容"  />
        </div>
    </div>
	
	<div class="layui-form-item">
        <label for="remark" class="layui-form-label  layui-form-required">处理备注</label>
        <div class="layui-input-block">
            <input name="remark"   lay-verType="tips" lay-verify="required" class="layui-input"  placeholder="请输入处理备注" lay-reqText="请输入处理备注"  />
        </div>
    </div>
	
	<div class="layui-form-item">
        <label for="state" class="layui-form-label  layui-form-required">处理状态 0 处理中 1 已处理</label>
        <div class="layui-input-block">
            <input  type="number" min="0" max="999999" name="state"   lay-verType="tips" lay-verify="required|number" class="layui-input" value="1" placeholder="请输入处理状态 0 处理中 1 已处理" lay-reqText="请输入处理状态 0 处理中 1 已处理并为数字"  />
        </div>
    </div>
	
	<div class="layui-form-item">
        <label for="create_time" class="layui-form-label  layui-form-required">提交时间</label>
        <div class="layui-input-block">
            <input name="create_time"  id="createTime-feedback-create_time" type="text" lay-verType="tips" lay-verify="required|datetime" class="layui-input" placeholder="请输入提交时间" lay-reqText="请输入提交时间"  />
        </div>
    </div>
	
	<div class="layui-form-item">
        <label for="update_time" class="layui-form-label  layui-form-required">处理时间</label>
        <div class="layui-input-block">
            <input name="update_time"  id="createTime-feedback-update_time" type="text" lay-verType="tips" lay-verify="required|datetime" class="layui-input" placeholder="请输入处理时间" lay-reqText="请输入处理时间"  />
        </div>
    </div>
	
	<div class="layui-form-item">
        <label for="adminid" class="layui-form-label  layui-form-required">管理员id</label>
        <div class="layui-input-block">
            <input  type="number" min="0" max="999999" name="adminid"   lay-verType="tips" lay-verify="required|number" class="layui-input" value="1" placeholder="请输入管理员id" lay-reqText="请输入管理员id并为数字"  />
        </div>
    </div>
	
	<div class="layui-form-item">
        <label for="isDel" class="layui-form-label  layui-form-required">删除状态 0未删除 1已删除</label>
        <div class="layui-input-block">
            <input name="isDel"   lay-verType="tips" lay-verify="required" class="layui-input"  placeholder="请输入删除状态 0未删除 1已删除" lay-reqText="请输入删除状态 0未删除 1已删除"  />
        </div>
    </div>
	
      <div class="layui-form-item text-right core-hidden">
        <input type="button" class="layui-btn" lay-submit lay-filter="LAY-app-feedback-createForm-submit" id="LAY-app-feedback-createForm-submit" value="确认添加">
    </div>
</div>
</script>
<script>
    var debug= layui.setter.debug;
    layui.data.done = function (d) {
        //开启调试情况下获取接口赋值数据
        if (debug) { console.log(d.params.data); }
        layui.use(['admin', 'form', 'laydate', 'upload', 'coreHelper', 'cropperImg'],
        function () {
            var $ = layui.$
                , form = layui.form
                , admin = layui.admin
                , laydate = layui.laydate
                , upload = layui.upload
                , cropperImg = layui.cropperImg
                , coreHelper = layui.coreHelper;
	        
            laydate.render({
                elem: '#createTime-feedback-create_time',
                type: 'datetime'
            });
            laydate.render({
                elem: '#createTime-feedback-update_time',
                type: 'datetime'
            });
	        form.verify({
                
	        });
            //重载form
            form.render(null, 'LAY-app-feedback-createForm');
        })
    };
</script>
